myApp.controller('userController', function ($scope, $http) {
    $scope.user = []; // 初始化数据
    $http({url: "/getUserList", method: "get"})
        .success(function (data) {
            for (var i in data) {
                var user = data[i];
                $scope.user.push(user);
            }
        });
})